ITC, Sun Pharma, HDFC and Coal India were among the top gainers.
Reflecting the bearish mood, all sectoral indices, led by metal, teck and healthcare, ended in the negative zone.
Metal shares were the top gainers with Hindalco up over 5%.
Coal India fell the most by 2.58 per cent among Sensex scrips, dragging the index into the negative zone.
ICICI Bank, SBI, Axis Bank and HDFC Bank dipped between 1-2% each.
Markets closed in the red on domestic worries.
The broader NSE Nifty, after shuttling between 10,600.25 and 10,491.45 points, ended the last session of Samvat 2074 with a rise of 6 points, or 0.06 per cent, to end at 10,530.
This is the highest closing for both the indices since May 15.
Sensex ended up 11 points at 25,561 and the 50-share Nifty gained 16 points to end at 7,640.
Oil & Natural Gas Corporation Ltd said its ONGC Videsh Ltd authorized plans to hold talks with British Gas for acquisition of their stake in Kashagan oil filed. However, no action has been taken in this regard, it said.
The BSE IT sector, however, failed to snap a three-day losing streak and closed around 0.14 per cent lower.
Both the indices ended at their highest levels since February 1.
The 30 share Sensex ended up 183 points at 27,470 and the 50-share Nifty gained 44 points to close at 8,295.
The 30-share Sensex and the 50-share Nifty ended flat at the mark of 29,008 and 8,767 respectively.
Maruti Suzuki was the biggest gainer among Sensex scrips, rising 5.89 per cent, followed by M&M up 5.29 per cent.
The 50-share NSE Nifty too closed down 168.30 points, or 1.58 per cent, at 10,498.25 -- a level last seen on January 3 when it closed at 10,443.20.
The rupee fell to a two-year low of 64.84 against the US dollar.
Equity benchmarks erased early gains after realty, capital goods, teck, auto, PSU, IT, power and bankex counters came under selling pressure, falling up to 1.28 per cent.
Shares of L&T Technology Services, an arm of engineering giant Larsen and Toubro, made a decent debut on the bourses
Sensex, Nifty slightly upbeat, midcaps to rule markets this week.
Oil & Natural Gas Corporation Ltd said it has not yet been granted clearance by government for acquiring equity stake in MRPL.
Fresh buying by domestic institutional investors and better-than-expected June quarter results from some blue-chip companies boosted investor sentiment
In the Sensex kitty on Wednesday, Tata Motors emerged as the top loser falling 3.01 per cent, followed by Vedanta shedding 2.92 per cent. Other laggards include HUL, Kotak Bank, NTPC, Infosys, HDFC Bank, Bajaj Finance, Hero MotoCorp, ICICI Bank, Yes Bank, HDFC, IndusInd Bank and PowerGrid, falling up to 1.77 per cent.
Among Sensex constituents, HCL Tech suffered the most by diving 2.26 per cent, followed by HDFC shedding 2.10 per cent.
The 30-share Sensex, after opening on a strong footing, continued its upward march to hit an all-time high of 35,827.70. The NSE Nifty also hit a record intra-day high of 10,975.10, before finishing at 10,966.20, up 71.50 points.
Capital goods shares continued to trade firm in late noon despite weak market trend on the back of encouraging core sector growth in February.
ICICI Bank, ONGC and Tata Motors contribute to nearly 50% gain seen on the Nifty.
The NSE Nifty too ended 58.60 points, or 0.54 per cent, higher at 10,967.30 after shuttling between 10,985.15 and 10,928 during the session.
The BSE Sensex zoomed 318 points to end at 33,351.57, while the broader Nifty spurted 88 points to 10,242.65.
Markets ended in green on rate cut hope.
Investors cheered a sharp decline in the Current Account Deficit, which stands at a 4 year low as exports picked up and gold imports reduced.
Even though stocks may remain volatile in the run-up to the polls, as political parties stitch up alliances, the long-term trajectory for the markets remains bullish.
Banks, real estate and metal scrips among the top losers.
Foreign institutional investors were net buyers in Indian equities worth Rs 277.92 crore on Tuesday
The S&P BSE Sensex ended 190 points up at 23,382.
Covering-up of pending short positions on expiry of the July derivatives contracts and a strengthening rupee propped up the markets at high levels
The recovery was led by pharma majors led by Dr Reddy's Labs.
Markets snapped their 8-day winning streak.
Top gainers from the Sensex pack are ONGC, HDFC, HUL, RIL and Cipla.
In the broader markets, the mid and smallcap indices were up 0.3% each, underperforming the BSE benchmark index which gained 0.5%.